package com.ruoyi.project.cyq.order.domain;

import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 *订单信息
 */
public class Order extends BaseEntity {

    private long orderId;
    private String orderNumber;
    private String orderName;
    private String orderClassify;
    private String orderMoney;
    private String orderDistribution;
    private String orderSalesperson;
    private String departmentHead;
    private Date createTime;
    private long genreId;
    private long clientId;
    private long productId;

    public Order() {
    }

    public Order(long orderId, String orderNumber, String orderName, String orderClassify, String orderMoney, String orderDistribution, String orderSalesperson, String departmentHead, Date createTime, long genreId, long clientId, long productId) {
        this.orderId = orderId;
        this.orderNumber = orderNumber;
        this.orderName = orderName;
        this.orderClassify = orderClassify;
        this.orderMoney = orderMoney;
        this.orderDistribution = orderDistribution;
        this.orderSalesperson = orderSalesperson;
        this.departmentHead = departmentHead;
        this.createTime = createTime;
        this.genreId = genreId;
        this.clientId = clientId;
        this.productId = productId;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderId=" + orderId +
                ", orderNumber='" + orderNumber + '\'' +
                ", orderName='" + orderName + '\'' +
                ", orderClassify='" + orderClassify + '\'' +
                ", orderMoney='" + orderMoney + '\'' +
                ", orderDistribution='" + orderDistribution + '\'' +
                ", orderSalesperson='" + orderSalesperson + '\'' +
                ", departmentHead='" + departmentHead + '\'' +
                ", createTime=" + createTime +
                ", genreId=" + genreId +
                ", clientId=" + clientId +
                ", productId=" + productId +
                '}';
    }

    /**
     * 获取 主键id
     *
     * @return orderId
     */
    public long getOrderId() {
        return this.orderId;
    }

    /**
     * 设置 主键id
     *
     * @param orderId
     */
    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取 订单编号
     *
     * @return orderNumber
     */
    public String getOrderNumber() {
        return this.orderNumber;
    }

    /**
     * 设置 订单编号
     *
     * @param orderNumber
     */
    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    /**
     * 获取
     *
     * @return 订单姓名
     */
    public String getOrderName() {
        return this.orderName;
    }

    /**
     * 设置   订单姓名
     *
     * @param orderName
     */
    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    /**
     * 获取 订单公司
     *
     * @return orderClassify
     */
    public String getOrderClassify() {
        return this.orderClassify;
    }

    /**
     * 设置 订单公司
     *
     * @param orderClassify
     */
    public void setOrderClassify(String orderClassify) {
        this.orderClassify = orderClassify;
    }

    /**
     * 获取 总金额
     *
     * @return orderMoney
     */
    public String getOrderMoney() {
        return this.orderMoney;
    }

    /**
     * 设置 总金额
     *
     * @param orderMoney
     */
    public void setOrderMoney(String orderMoney) {
        this.orderMoney = orderMoney;
    }

    /**
     * 获取 订单配送方式
     *
     * @return orderDistribution
     */
    public String getOrderDistribution() {
        return this.orderDistribution;
    }

    /**
     * 设置 订单配送方式
     *
     * @param orderDistribution
     */
    public void setOrderDistribution(String orderDistribution) {
        this.orderDistribution = orderDistribution;
    }

    /**
     * 获取 销售人
     *
     * @return orderSalesperson
     */
    public String getOrderSalesperson() {
        return this.orderSalesperson;
    }

    /**
     * 设置 销售人
     *
     * @param orderSalesperson
     */
    public void setOrderSalesperson(String orderSalesperson) {
        this.orderSalesperson = orderSalesperson;
    }

    /**
     * 获取 部门上级
     *
     * @return departmentHead
     */
    public String getDepartmentHead() {
        return this.departmentHead;
    }

    /**
     * 设置 部门上级
     *
     * @param departmentHead
     */
    public void setDepartmentHead(String departmentHead) {
        this.departmentHead = departmentHead;
    }

    /**
     * 获取 创建时间
     *
     * @return createTime
     */
    public Date getCreateTime() {
        return this.createTime;
    }

    /**
     * 设置 创建时间
     *
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取 外键订单类别ID
     *
     * @return genreId
     */
    public long getGenreId() {
        return this.genreId;
    }

    /**
     * 设置 外键订单类别ID
     *
     * @param genreId
     */
    public void setGenreId(long genreId) {
        this.genreId = genreId;
    }

    /**
     * 获取 外键客户id
     *
     * @return clientId
     */
    public long getClientId() {
        return this.clientId;
    }

    /**
     * 设置 外键客户id
     *
     * @param clientId
     */
    public void setClientId(long clientId) {
        this.clientId = clientId;
    }

    /**
     * 获取 外键产品id
     *
     * @return productId
     */
    public long getProductId() {
        return this.productId;
    }

    /**
     * 设置 外键产品id
     *
     * @param productId
     */
    public void setProductId(long productId) {
        this.productId = productId;
    }
}
